/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.crystalcg.demo;

import com.crystalcg.events.EventHandler;
import com.crystalcg.net.HttpRespons;

/**
 *
 * @author lifeng
 */
public class URLLoaderDemoEventHandler implements EventHandler {
    public void handler(com.crystalcg.events.Event e){
            System.out.println("fuck"+e.getType()+e.getBody());
            HttpRespons respons=(HttpRespons)e.getBody();
            System.out.println(respons.getContent());
        }
}
